package cn.tedu.sp01.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
@Data
@NoArgsConstructor
@AllArgsConstructor
//订单表
public class Order {
    private String id;
    private List<Item> items; //订单中的商品列表
    private User user;        //订单属于哪个用户
}
